#!/bin/bash

# 镜像导入步骤
# 1.上传镜像文件到/opt/stack/devstack/files目录下
# 2.执行./upload_image.sh $image_filename
# 3.上传成功之后请rm /opt/stack/devstack/files/$image_filename 或 mv /opt/stack/devstack/files/$image_filename /opt/stack/glance/images 

HOST_IP="" TOP_DIR="" FILES="" ADMIN_USER="" ADMIN_TENANT="" ADMIN_PASSWORD="" IMAGE_FNAME="$1" GLANCE_HOSTPORT="" ./register_image.sh
